Converts degrees to radians.
#include <Math.au3>
_Radian ( $nDegrees )
Parameters
$aDegrees | Degrees to be converted into radians. |
Return Value
Success: | Radians converted from degrees. |
Failure: | Blank string and @error set to 1 |
Remarks
Can be used in conjunction with the Sin(), Cos(), and Tan() functions.
Related
_Degree, Sin, Cos, Tan, ASin, ACos, ATan
Example
#include <Math.au3>
$degrees = 35
$radians = _Radian($degrees)
MsgBox(0, "Degrees to Radians", $degrees & " degrees = " & $radians & " radians")